<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title></title>
    <link rel="stylesheet" href="css/common.css"/>
    <link rel="stylesheet" href="css/erweima.css"/>
    <script src="js/jquery.min.js"></script>
    <script src="js/jquery.cookie.js"></script>
    <script src="js/config.js"></script>
    <script src="js/ajax.js"></script>
    <script src="js/template.js"></script>
    <script src="js/qrcode.js"></script>
</head>
<body>
<div id="header">
    <span class="back" onclick="history.go(-1)">返回</span>
    <p>二维码</p>
</div>
    <div id="main">

    </div>
<script id="qrcode" type="text/html">
    <div class="top">
        <h3>{{hospital_name}}</h3>
        <h2>{{data.fav.title}}</h2>
        <div class="erweima">
            <img src="data:image/png;base64,{{qrcode}}"/>
        </div>
        <p class="code">code: <span>{{data.code_pool}}</span></p>
    </div>
    <div class="bot">
        <img src="/imgs/noti.png" alt=""/>
        <div class="right">
            <p>使用条件：</p>
            <p>仅限于{{data.hospital_name}}</p>
            <p>有效期至： {{data.end_time}}</p>
        </div>
    </div>
</script>
</body>
</html>